<template>
  <!-- 轮播图 -->
  <div>
    <mt-swipe :auto="1000" >
      <mt-swipe-item v-for="item in swip" :key="item.url">
        <img :src="item.img" :class="{'full':isfull}" alt="">
      </mt-swipe-item>
    </mt-swipe>
  </div>
</template>
<script>
export default {
 data(){
   return{

   }
 },
 crested(){
   
 },
methods:{
  
},
props:["swip","isfull"]
  
}
</script>
<style lang="less" scoped>
  .mint-swipe{
    text-align: center;
    height: 200px;
    img{
    height: 100%;
    }  
    .full{
      width: 100%;
    }
  }
  

  
</style>